package web.base.system.model;

import blue.core.dict.State;
import blue.jdbc.annotation.Entity;
import blue.jdbc.annotation.Id;

/**
 * @author Jin Zheng
 * @since 1.0 2020-09-02
 */
@Entity(table = "sys_role")
public class Role
{
	@Id
	private Integer id;
	private String code;
	private String name;
	private String descp;
	private State state;

	public Role()
	{
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getCode()
	{
		return code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescp()
	{
		return descp;
	}

	public void setDescp(String descp)
	{
		this.descp = descp;
	}

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}
}
